package com.cxx.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cxx.framework.data.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("blog")
public class Blog extends AbstractEntity {
    @TableField("title")
    private String title;

    @TableField("top_value")
    private Integer topValue;

    @TableField("is_great")
    private Boolean isGreat;

    @TableField("category_id")
    private Long categoryId;

    @TableField("summary")
    private String summary;

    @TableField("content_id")
    private Long contentId;

    @TableField("word_count")
    private Integer wordCount;

    @TableField("read_duration")
    private Double readDuration;
}
